<!DOCTYPE html>
<html>

<head>
<meta charset="UTF-8" />
<script type="text/javascript" charset="utf-8" src="/api/udin/assets/static/js/jquery.min.js"></script>
<title>没有可编辑的页面数据</title>
<style>
#gotoPages {
	text-align: center;
	cursor: pointer;
	border: 1px dashed #d5d5d5;
	padding: 12px 0;
	color: #a5a5a5;
	width: 60%;
	height: 120px;
	line-height: 120px;
	margin: 10% auto;
}

#gotoPages:hover {
	border-color: #409eff;
	color: #409eff;
}
</style>
</head>

<body style="background-color: #ffffff;">
	<div id="gotoPages">该页面不存在或被置为<b>外链页面</b>，无法正常编辑，点击进入页面管理！</div>
	<script th:inline="javascript">
		//<![CDATA[
		window.backendjsFunctions = {
			publish : function() {
				return 'nopage';
			}
		}
		// 加载完成后执行的方法
		var onloadfuncName = "IFRAME_LOADING_OVER";
		// 点击添加首页
		var callbackfuncName = "GOTO_URL_BACKEND_USER_PAGES";
		// 设计区域头部右侧浏览按钮是否显示
		var isPageData = "IS_PAGE_DATA_DESING";
		function getVue() {
			return window && window.parent ? window.parent : null;
		}
		function getVueFunc(functionName) {
			var vue = getVue()
			return vue && vue.vueFunctions && vue.vueFunctions[functionName] ? vue.vueFunctions[functionName]
					: null;
		}
		$(function() {
			var mtop = ($(window).height() - $("#gotoPages").height()) / 2;
			$("#gotoPages").css("margin-top", mtop + "px")
			var load = getVueFunc(onloadfuncName);
			if (load) {
				load(-1);
			}
			var hideViewButton = getVueFunc(isPageData);
			if (hideViewButton) {
				hideViewButton(false);
			}
			$("#gotoPages").click(function() {
				var func = getVueFunc(callbackfuncName);
				if (func) {
					func();
				}
			})
		})
		//]]>
	</script>
</body>

</html>